package com.liu.dao;

import com.liu.model.Book;

import java.util.List;
import java.util.Map;

public interface BookMapper {
    Boolean save(Book book);

    Boolean edit(Book book);

    List<Book> findAll(Map<String, Object> queryMap);

    boolean deleteById(String id);

    Book findById(String id);
    Book findByBookInfoId(String bookInfoId);

}